import http from './request.js'

/** 登录接口 **/
export async function loginApi (data={}) {
	return http.post(`/user/login`, data)
}

/** 签到打卡接口 **/
export async function checkInApi () {
	return http.post(`/user/check-in`, data)
}

/** 获取用户信息 **/
export async function getUserInfoApi () {
	return http.get(`/user/current`)
}